<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>卡片</title>
    <link rel="stylesheet" href="../css/bootstrap.min.css">
</head>

<body>
    <div class="container"><div class="card">
        <div class="card-body">简单的卡片</div>
      </div></div>
    <div class="container"><div class="card">
        <div class="card-header">头部</div>
        <div class="card-body">内容</div> 
        <div class="card-footer">底部</div>
      </div></div>
    <div class="container"><div class="container">
      <h2>多种颜色卡片</h2>
      <div class="card">
        <div class="card-body">基础卡片</div>
      </div>
      <br>
      <div class="card bg-primary text-white">
        <div class="card-body">主要卡片</div>
      </div>
      <br>
      <div class="card bg-success text-white">
        <div class="card-body">成功卡片</div>
      </div>
      <br>
      <div class="card bg-info text-white">
        <div class="card-body">信息卡片</div>
      </div>
      <br>
      <div class="card bg-warning text-white">
        <div class="card-body">警告卡片</div>
      </div>
      <br>
      <div class="card bg-danger text-white">
        <div class="card-body">危险卡片</div>
      </div>
      <br>
      <div class="card bg-secondary text-white">
        <div class="card-body">次要卡片</div>
      </div>
      <br>
      <div class="card bg-dark text-white">
        <div class="card-body">黑色卡片</div>
      </div>
      <br>
      <div class="card bg-light text-dark">
        <div class="card-body">浅色卡片</div>
      </div>
    </div></div>
    <div class="container"><div class="card">
      <div class="card-body">
        <h4 class="card-title">Card title</h4>
        <p class="card-text">Some example text. Some example text.</p>
        <a href="#" class="card-link">Card link</a>
        <a href="#" class="card-link">Another link</a>
      </div>
    </div></div>
    <div class="container"><div class="card" style="width:400px">
      <img class="card-img-top" src="./img/01-lijianming.png" alt="Card image">
      <div class="card-body">
        <h4 class="card-title">John Doe</h4>
        <p class="card-text">Some example text.</p>
        <a href="#" class="btn btn-primary">See Profile</a>
      </div>
    </div></div>
    <div class="container"><div class="card" style="width:500px">
      <img class="card-img-top" src="./img/02-lijianming.png" alt="Card image">
      <div class="card-img-overlay">
        <h4 class="card-title">John Doe</h4>
        <p class="card-text">Some example text.</p>
        <a href="#" class="btn btn-primary">See Profile</a>
      </div>
    </div></div>
    <div class="container"></div>
    <div class="container"></div>
    <div class="container"></div>
    <div class="container"></div>
    <div class="container"></div>
    <div class="container"></div>

    <script src="./js/bootstrap.bundle.min.js"></script>
</body>

</html>